<?php
session_start();
include_once('includes/db.php');
$id=$_GET['id'];
$str="DELETE FROM `article` WHERE id=$id";
$result=mysql_query($str);
if($result)
{
	header('location:article.php');
}
else 
{
    echo 'There is some error';	
}
?>
